<template>
  <h3>我是父组件</h3>
  <HeiMa msg="我是父组件的静态数据" v-bind:count="count" />
</template>

<script setup>
import HeiMa from './components/HeiMa.vue';
import { ref } from 'vue';

const count = ref(10);
</script>

<script>
export default {
  beforeCreate() {
    console.log('父的beforeCreate');
  },
  created() {
    console.log('父的created');
  },
  beforeMount() {
    console.log('父的beforeMount');
  },
  mounted() {
    console.log('父的mounted');
  },
};
</script>
